package com.qs.education.bean.dao;

import java.util.List;
import java.util.Map;

import com.qs.education.bean.entity.EducationTeacher;


/**
 * @class IEducationSMSCode
 * @author Leon
 * @description
 * @date Nov 2, 2018
 */
public interface IEducationTeacherDao extends IBaseDao<EducationTeacher> {
	
	/**
	 * @Description 根据手机号查询用户是否存在
	 * @author Leon
	 * @date   Nov 5, 2018
	 * @param  
	 * @return EducationTeacher
	 */
	public EducationTeacher findEducationTeacherByMobile(Map<String,Object> params);
	
	/**
	 * @Description 根据 手机号 或 姓名进行查询教师
	 * @author Leon
	 * @date   Nov 12, 2018
	 * @param  
	 * @return List<EducationTeacher>
	 */
	public List<EducationTeacher> findEducationTeacherByMobileOrName(String content);

	/**
	 * @Description 根据条件搜索老师
	 * @author Jason
	 * @date Nov 12, 2018
	 * @param teacher
	 * @return
	 */
	public List<EducationTeacher> findTeacherByCondition(EducationTeacher teacher);

	/**
	 * @Description 根据条件查询符合条件的老师的数量
	 * @author Jason
	 * @date Nov 20, 2018
	 * @param educationTeacher
	 * @return
	 */
	public int getTeacherCount(EducationTeacher educationTeacher);

	/**
	 * @Description 查询所有符合条件的老师的信息
	 * @author Jason
	 * @date Nov 20, 2018
	 * @param educationTeacher
	 * @param currentPage
	 * @param pageSize
	 * @return
	 */
	public List<EducationTeacher> getTeacher(EducationTeacher educationTeacher, Integer currentPage, Integer pageSize);

}
